package com.SmartClassroom.system.mapper;

import com.SmartClassroom.system.model.domain.Attendance;
import com.SmartClassroom.system.model.dto.attendance.AttendanceQueryRequest;
import com.SmartClassroom.system.model.vo.AttendanceVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author baijiayu
* @description 针对表【Attendance】的数据库操作Mapper
* @createDate 2024-11-19 11:01:51
* @Entity generator.domain.Attendance
*/
public interface AttendanceMapper extends BaseMapper<Attendance> {

    List<AttendanceVO> page(@Param("pageParam") Page<AttendanceVO> pageParam,
                        @Param("attendanceQueryRequest") AttendanceQueryRequest attendanceQueryRequest);

    List<AttendanceVO> pageById(@Param("pageParam") Page<AttendanceVO> pageParam,
                        @Param("attendanceQueryRequest") AttendanceQueryRequest attendanceQueryRequest,
                                @Param("userId") Long userId);
}




